package domain;

import java.util.Date;

/**
 * 公告模型
 * 
 * May 27, 2009
 *
 * @author Fabian
 *
 */
public class Notice {
	//编号
	private int id;
	
	private String content;
	
	private Date pub_time;
	
	private Date end_time;
	
	private int auth_id;
	
	private String author;
	
	//notice状态（已过期，正在公布中）
	private String status;
	
	private String role = "老师";

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the pub_time
	 */
	public Date getPub_time() {
		return pub_time;
	}

	/**
	 * @param pub_time the pub_time to set
	 */
	public void setPub_time(Date pub_time) {
		this.pub_time = pub_time;
	}

	/**
	 * @return the end_time
	 */
	public Date getEnd_time() {
		return end_time;
	}

	/**
	 * @param end_time the end_time to set
	 */
	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}

	/**
	 * @return the auth_id
	 */
	public int getAuth_id() {
		return auth_id;
	}

	/**
	 * @param auth_id the auth_id to set
	 */
	public void setAuth_id(int auth_id) {
		this.auth_id = auth_id;
	}

	/**
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}

	/**
	 * @param author the author to set
	 */
	public void setAuthor(String author) {
		this.author = author;
	}

	/**
	 * @return the role
	 */
	public String getRole() {
		return role;
	}

	/**
	 * @param role the role to set
	 */
	public void setRole(String role) {
		this.role = role;
	}

	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}	
	
}
